/*
 * @Description: 用车订单统计
 * @Version: 2.0
 * @Autor: 许国辉
 * @Date: 2023-03-13 09:40:13
 * @LastEditors: 许国辉
 * @LastEditTime: 2023-09-08 16:34:41
 */
import { defHttp } from '/@/utils/http/axios';
import { CarOrderStatisticsParams, CarOrderStatisticsModel } from './model/CarOrderStatisticsModel';
// import { getNewDate } from '/@/api/travelItinerary/getDateAPI';
enum Api {
  getCarOrderStatistics = '/carOrderStatistics/getCarlOrderStatistics',
}
export function getCarOrderByParams(params: CarOrderStatisticsParams) {
  return defHttp.post<CarOrderStatisticsModel>({
    url: Api.getCarOrderStatistics,
    params,
    headers: {
      ignoreCancelToken: true,
    },
  });
}
